#ifndef APPSTATEMANAGER_H
#define APPSTATEMANAGER_H

#include "AppState.h"   //mandatory for derived classes...

namespace sf
{
    class RenderWindow;
}

class AppStateManager
{
    public:
        static AppStateManager* GetInstance();

        void SetActiveAppState(int id);
        void OnLoop(sf::RenderWindow&);

    private:
        AppStateManager();
        AppState* activeAppState_;

        AppStateSplashScreen appStateSplashScreen_;
        AppStateMandelbrot appStateMandelbrot_;
};

#endif // APPSTATEMANAGER_H





